﻿using ELab.Serialization.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ELab.Core.Serialization.Data
{
    public static class ProviderFactory
    {
        private static UserProvider userProvider = null;
        public static UserProvider UserProvider
        {
            get
            {
                if (userProvider == null)
                    userProvider = new UserProvider();
                return userProvider;
            }
        }

        private static SurveyProvider surveyProvider = null;
        public static SurveyProvider SurveyProvider
        {
            get
            {
                if (surveyProvider == null)
                    surveyProvider = new SurveyProvider();
                return surveyProvider;
            }
        }

        private static QAProvider qaProvider = null;
        public static QAProvider QAProvider
        {
            get
            {
                if (qaProvider == null)
                    qaProvider = new QAProvider();
                return qaProvider;
            }
        }
    }
}
